package top.lixunda.books3.service;

import top.lixunda.books3.entity.Book;
import top.lixunda.books3.entity.User;
import top.lixunda.books3.model.BookTag;

import java.util.List;
import java.util.Map;

public interface RecommendService {

    void insertBookTags(User user, Book book);

    Map<String, Object> querySimpleBookAndCountByUserTag(User user, long page);

    Map<String, Object> querySimpleBookAndCountByUserTag(User user, long start, long count);

    List<BookTag> queryBookTagByUser(User user, long limit);

}
